package com.zd.dao.impl;

import com.zd.dao.UserDao;
import org.springframework.stereotype.Repository;


//@Component("userDao")//使用在类上用于实例化Bean
@Repository("userDao")//使用在dao层类上实例化Bean
public class UserDaoImpl implements UserDao {

    @Override
    public void save() {
        System.out.println("save running....");
    }
}
